package com.weixin.engine.design.state;

/**
 * 状态的接口，定义了所有事件，它的4个子类定义了状态机的所有状态
 */
public interface IMario {
    State getName();

    void obtainMushRoom(MarioStateMachine stateMachine);//吃到蘑菇

    void obtainCape(MarioStateMachine stateMachine);//获得斗篷

    void obtainFireFlower(MarioStateMachine stateMachine);//获得火焰

    void meetMonster(MarioStateMachine stateMachine);//遇到怪物
}